package com.aurora.springbootmybatis.service;

import com.aurora.springbootmybatis.entity.Student;
import com.github.pagehelper.PageInfo;
import java.util.List;

public interface StudentService {
    Student findStuById(Integer id);

    List<Student> findAll();

    PageInfo<Student> findAllByPage(Student student, Integer pageNum, Integer pageSize);

    Boolean saveStu(Student student);

    Boolean updateStu(Student student);

    Boolean deleteStu(Integer id);
}